package com.labi.designpattern.service.impl;

import com.labi.designpattern.service.HumanService;
import org.springframework.stereotype.Service;

@Service
public class DoctorServiceImpl implements HumanService {
    @Override
    public String name() {
        System.out.println("doctor");
        return "doctor";
    }
}
